export const getSiblingsElByTagName = (el, tagName) => {
  let siblings = el.parentNode.children;
  let result;
  for (let i = 0; i < siblings.length; i++) {
    let sibling = siblings[i];
    if (sibling.tagName === tagName.toUpperCase()) {
      result = sibling;
      break;
    }
  }
  return result;
};
